//
//  LinDemo.swift
//  CodeList
//
//  Created by 山神 on 2021/9/9.
//

import UIKit

class LinDemo {
    init() {
        let temp = TempDemo()
        let arr1 = ["dedq", "adad", "da"]
        let arr2 = arr1
        arr1.forEach { ssk in
            print("one地址为: \(Unmanaged<AnyObject>.passUnretained(ssk as! AnyObject).toOpaque())")
        }

        arr2.forEach { ssk in
            var ap = ssk + "dada"
//            print("one地址为: \(Unmanaged<AnyObject>.passUnretained(ap as! AnyObject).toOpaque())")
        }

        var name = "jinshan"
        var ssk = name + "ddd"

//        print("one地址为: \(Unmanaged<AnyObject>.passUnretained(name as! AnyObject).toOpaque())")
//        print("one地址为: \(Unmanaged<AnyObject>.passUnretained(ssk as! AnyObject).toOpaque())")
    }
}

struct TempDemo {

}
